﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Portal.Web.Admin.Setting
{
    public partial class SiteSave : SettingPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Model.Title = Fq("Title");
            Model.MetaKeywords = Fq("MetaKeywords");
            Model.MetaDescription = Fq("MetaDescription");
            Model.Telnet = Fq("Telnet");
            Model.HotLineTelnet = Fq("HotLineTelnet");
            Model.Fax = Fq("Fax");
            Model.CompanyAdress = Fq("CompanyAdress");
            Model.Email = Fq("Email");
            Model.Qq = Fq("Qq");
            Model.CustomerServiceTelnet = Fq("CustomerServiceTelnet");
            Model.AccessCountHtml = Fq("AccessCountHtml");
            Model.Mobile = Fq("Mobile");
            Model.Copyright = Fq("Copyright");
            Model.OrderCompanyName = Fq("OrderCompanyName");
            Model.OrderEmail = Fq("OrderEmail");
            Model.Mobile = Fq("Mobile");
            Model.Contacter = Fq("Contacter");
            Model.Code = Fq("Code");
            Model.ZipCode = Fq("ZipCode");
            Model.RootUrl = Fq("RootUrl");
            Model.CssUrl = Fq("CssUrl");
            SettingAddOrUpdate();
            if (Request.IsAjaxRequest())
                Json(new AjaxResult { state = true, message = "修改成功" });
        }
    }
}